<%@ page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1"%>
<%@ taglib prefix="f"  uri="http://java.sun.com/jsf/core"%>
<%@ taglib prefix="h"  uri="http://java.sun.com/jsf/html"%>
<%@ page language="java" import="java.util.*" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Insert title here</title>
</head>
<body>
<f:view>

	<h:form id="form">
	
	<h1><h:outputText value="Entre com seu email e senha"/></h1>
	 <fieldset>
	 <h:panelGrid columns="2">
	 <h:outputText value="E-mail" />
	 <h:inputText id="email" value="#{loginBean.email}" required="true">
	 </h:inputText>    
	
	 <h:outputLabel for="senha" value="Senha"/>
	 <h:inputSecret id="senha" value="#{loginBean.senha}" required="true">
	 
	 </h:inputSecret>
	
	 <h:commandButton id="botao" value="Entrar" action="#{loginBean.entrar}" />
	 <h:messages layout="table" errorStyle="color: red"
	infoStyle="color: green" warnStyle="color: orange"
	fatalStyle="color: gray"/>	 
	 </h:panelGrid>
	 </fieldset>
	 </h:form>
	<h:form>
	
	  <h:outputText value="Monitor da Disciplina?"/>
	  <h:commandButton id="linkSolicitacao" value="Solicitar conta de Requerente" action="solicitacaoRequerente.jsp" />
	 
	 </h:form>
</f:view>
</body>
</html>